import QtQuick 2.0

Item {
    id: a_item
    x:20;
    //y:b_item.x # cannot access this id of B.qml
    y:b1.x1 //can access b1 of main.qml
    Item {
        id:a1
        x:20
        Component.onCompleted : a1.x //this a1 is a.qml's a1 not the a1 in main.qml
    }
}
